<!--
 * @Author: SilentVver 928872571@qq.com
 * @Date: 2023-09-03 18:53:50
 * @LastEditors: SilentVver 928872571@qq.com
 * @LastEditTime: 2023-09-03 20:19:44
 * @Description: 
 * 
-->
<template>
    <div>
        <!-- loading
        {{ appInfo }} -->
        <img class="sw-web-loading-icon" :src="appInfo.icon" />
    </div>
</template>

<script>

export default {
    data() {
        return {
            appInfo: {}
        }
    },
    created() {
        const { icon, name, url } = this.$route.query
        console.log(this.$route.query, 'this.$route.params')
        this.appInfo = { icon, name, url }

        setTimeout(() => {
            window.location.replace(url)
        }, 500)
    },
    mounted() {

    },
    methods: {

    },
}
</script>
<style scoped lang='less'>
.sw-web-loading-icon {
    width: 20vw;
    height: 20vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
</style>
